def generator():
    for x in range(0, 3):
        yield x+1
    print(1)
if __name__ == "__main__":
    y = generator()
    for x in y:
        print(x);